#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/8/25 18:37
# @Author  : 李中华
# @Email   : 1260429766@qq.com
# @File    : globalVal.py

class GlobalValue:

    def __init__(self,cookie):
        self.__cookie = cookie

    @property
    def getCookies(self):
        return self.__cookie

    @getCookies.setter
    def setCookies(self,cookie):
        self.__cookie = cookie

if __name__ == '__main__':
    g = GlobalValue('111')
    # g.setCookies = '222'
    print(g.getCookies)
